package com.cn.wanxi.test;

public class ErWerArray {
    public static void main(String[] args) {
        int[] arr = {13, 43, 4, 3, 5, 5, 54};
        int[][] array = {
                {2, 3, 3},
                {2},
                {54, 3}
        };
        int sum = 0;
        for (int i = 0; i < array.length; i++) {
//            int[] ints = array[i];
            for (int j = 0; j < array[i].length; j++) {
                System.out.print(array[i][j] + " ");
                sum += array[i][j];
            }
            System.out.println();
        }
        System.out.println(sum);


//        ------------------------------
//        int[][][] ar = {
//                {{1}, {0}},
//                {{22, 3}, {}}
//        };
    }
}
